
#3
I=int(input('请输入当月利润：'))
if I <= 100000:
    S = I*0.1
elif 100000 <= I <=200000:
    S = 100000*0.1+(I-100000)*0.075
elif 200000 <= I <=400000:
    S = 100000 * 0.1 + 100000 * 0.075+(I-200000)*0.05
elif 400000 <= I <=600000:
    S = 100000 * 0.1 + 100000 * 0.075 + 200000 * 0.005+(I - 400000)*0.03
elif 600000 <= I <= 1000000:
    S = 100000 * 0.1 + 100000 * 0.075 + 200000 * 0.005 + 200000 * 0.03 +(I - 600000)*0.015
elif I >= 1000000:
    S = 100000 * 0.1 + 100000 * 0.075 + 200000 * 0.005 + 200000 * 0.03 + 400000 * 0.03 +(I - 1000000)*0.01
print('奖金总数为：',S)
